package com.ruoyi.common.enums;

/**
 * @ProjectName: back
 * @Package: com.ruoyi.common.enums
 * @ClassName: WxPayState
 * @Author: haiyue
 * @Description: 微信支付状态
 * @Date: 2025/6/9 下午 3:36:35
 * @Version: 1.0
 */
public enum WxPayState {
    SUCCESS("SUCCESS","支付成功"),
    REFUND("REFUND","转入退款"),
    NOT_PAY("NOTPAY","未支付"),
    CLOSED("CLOSED","已关闭"),
    REVOKED("REVOKED","已撤销"),
    USER_PAYING("USERPAYING","用户支付中"),
    PAY_ERROR("PAYERROR","支付失败");
    private String code;

    private String desc;

    WxPayState(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
